package org.example.db.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("广告管理")
@AllArgsConstructor
@NoArgsConstructor
public class Ad {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    Long id;
    String name;
    String url;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    Long goodsId;
    String addTime;
    String updateTime;
}
